package com.todoclipse.api;

public abstract class AbstractItem {

	private long id;
	private long userId;
	private boolean collapsed;
	private int itemOrder;

	// private int indent (will be shown as subprojects);

	public AbstractItem(long id, long userId) {
		this.id = id;
		this.userId = userId;
	}

	public boolean isCollapsed() {
		return collapsed;
	}

	public void setCollapsed(boolean collapsed) {
		this.collapsed = collapsed;
	}

	public int getItemOrder() {
		return itemOrder;
	}

	public void setItemOrder(int itemOrder) {
		this.itemOrder = itemOrder;
	}

	public long getUserId() {
		return userId;
	}
	
	public long getId() {
		return id;
	}

}